package Controller;

import java.util.ArrayList;

import Entity.OperatoerDTO;

public class OperatoerDAO implements IOperatoerDAO{
	
	OperatoerDTO opr = new OperatoerDTO();
	private ArrayList<OperatoerDTO> oDTO = new ArrayList<OperatoerDTO>();;   //added an arraylist of type OperatoerDTO

	public OperatoerDAO()
	{ 
	}
	public OperatoerDTO getOperatoer(int oprId) throws DALException{
		return opr;
	}
	public ArrayList<OperatoerDTO> getOperatoerList() throws DALException
	{
		return oDTO;
	}
	public void createOperatoer(OperatoerDTO opr) throws DALException{
		oDTO.add(opr);
	}
	public void updateOperatoer(OperatoerDTO opr) throws DALException{}

}
